export function getCode(){
	wx.login({
	    success: function (res) { 
			console.log('获取的code',res)
			//获取code
			uni.setStorageSync('code',res.code)
	    }
	})
}